package com.zzyl.alart.job;

import com.zzyl.alart.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("alertJob")
public class AlertJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    public void alertRuleFilter(){
        log.info("定时任务：数据报警校验开始");
        alertRuleService.alertRuleFilter();
        log.info("定时任务：数据报警校验结束");
    }

}
